<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>使用HTML标签的属性值获取元素</title>
	</head>
	<body>
		<div id="date">2000-12-12 11:11:11</div>
		<script>
			var d = document.getElementById('date');
			console.log(d);
			console.log(typeof d);
			console.dir(d);
		</script>
		
	</body>
</html>